home *** CD-ROM | disk | FTP | other *** search
Wrap
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <!-- Need to translate the title. --> <TITLE>Assign a keyboard shortcut - An example</TITLE> <!-- Do NOT edit from here... --> <SCRIPT LANGUAGE="JavaScript"> <!-- function MM_goToURL() { //v3.0 var i, args=MM_goToURL.arguments; document.MM_returnValue = false; for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'"); } //--> <!-- // The "refresh" function implementations are identical // to our regular "JavaScript-Refresh" example. The only // difference from our JavaScript Refresh example is // we do not have a doLoad function that starts our // refresh timer (since we use a refresh button). var sURL = unescape(window.location.pathname); function refresh() { window.location.href = sURL; } <!-- function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } function MM_popupMsg(msg) { //v1.0 alert(msg); } //--> </SCRIPT> <!-- ... to here. --> <!-- This is the link to the Cascading Style Sheet (CSS) file. --> <LINK REL="stylesheet" HREF="css/bpstyles.css" TYPE="text/css"> </HEAD> <body TEXT="#000000" TOPMARGIN="0" LEFTMARGIN="0" RIGHTMARGIN="0" BOTTOMMARGIN="0" BGCOLOR="#FFFFFF"> <TABLE WIDTH="94%" BORDER="0" ALIGN="CENTER"> <TR> <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD> </TR> <TR> <!-- TITLE TITLE TITLE TITLE TITLE TITLE TITLE TITLE --> <TD ALIGN="LEFT" CLASS="header1">Assign a keyboard shortcut - An example</TD> </TR> <TR> <TD><HR WIDTH="100%" ALIGN="CENTER"></TD> </TR> <TR> <!-- STEP 1 STEP 1 STEP 1 STEP 1 STEP 1 STEP 1 STEP 1 --> <TD CLASS="boldbody">Step 1 - Display the Customize dialog</TD> </TR> <TR> <TD CLASS="body">Choose View > Customize to display the Customize dialog. You can also right-click an empty part of the workspace and choose Customize from the context menu.</TD> </TR> <TR> <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD> </TR> <TR> <!-- STEP 2 STEP 2 STEP 2 STEP 2 STEP 2 STEP 2 STEP 2 --> <TD ALIGN="LEFT" CLASS="boldbody">Step 2 - Choose the Keyboard tab</TD> </TR> <TR> <TD CLASS="body">Choose the Keyboard tab.</TD> </TR> <TR> <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD> </TR> <TR> <!-- STEP 3 STEP 3 STEP 3 STEP 3 STEP 3 STEP 3 STEP 3 --> <TD ALIGN="LEFT" CLASS="boldbody">Step 3 - Choose the File menu</TD> </TR> <TR> <TD CLASS="body">From the Category drop-list, choose File (for the File menu).</TD> </TR> <TR> <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD> </TR> <TR> <!-- STEP 4 STEP 4 STEP 4 STEP 4 STEP 4 STEP 4 STEP 4 --> <TD ALIGN="LEFT" CLASS="boldbody">Step 4 - Choose the General Program Preferences command</TD> </TR> <TR> <TD CLASS="body">From the Commands section, choose the General Program Preferences command.</TD> </TR> <TR> <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD> </TR> <TR> <!-- STEP 5 STEP 5 STEP 5 STEP 5 STEP 5 STEP 5 STEP 5 --> <TD ALIGN="LEFT" CLASS="boldbody">Step 5 - Enter the keyboard shortcut</TD> </TR> <TR> <TD CLASS="body">Click inside the Press New Shortcut Key field, hold down the Alt key and press P. It should display in the field as "Alt+P."</TD> </TR> <TR> <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD> </TR> <TR> <!-- STEP 6 STEP 6 STEP 6 STEP 6 STEP 6 STEP 6 STEP 6 --> <TD ALIGN="LEFT" CLASS="boldbody">Step 6 - Click Assign</TD> </TR> <TR> <TD CLASS="body">Click Assign to assign this keyboard shortcut to the General Program Preferences command.</TD> </TR> <TR> <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD> </TR> <TR> <!-- STEP 7 STEP 7 STEP 7 STEP 7 STEP 7 STEP 7 STEP 7 --> <TD ALIGN="LEFT" CLASS="boldbody">Step 7 - Close the dialog</TD> </TR> <TR> <TD CLASS="body">Click Close to close the Customize dialog.</TD> </TR> <TR> <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD> </TR> <TR> <!-- STEP 8 STEP 8 STEP 8 STEP 8 STEP 8 STEP 8 STEP 8 --> <TD ALIGN="LEFT" CLASS="boldbody">Step 8 - Press Alt + P</TD> </TR> <TR> <TD CLASS="body">Try out your new shortcut by pressing Alt + P. The General Program Preferences dialog appears. Note also that this shortcut appears when you choose File > Preferences.</TD> </TR> <TR> <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD> </TR> <TR> <!-- Notes and Tips Notes and Tips Notes and Tips --> <TD VALIGN="TOP" ALIGN="LEFT" CLASS="boldbody">Notes and Tips:</TD> </TR> <TR> <TD> <TABLE BORDER="0" CELLSPACING="2" CELLPADDING="2"> <TR> <TD VALIGN="TOP"><IMG SRC="images/bullet.gif" WIDTH="5" HEIGHT="9" BORDER="0"></TD> <TD VALIGN="TOP" CLASS="body">If a particular shortcut is already assigned to another command, this will be reflected directly above the Press New Shortcut Key field.</TD> </TR> <TR> <TD VALIGN="TOP"><IMG SRC="images/bullet.gif" WIDTH="5" HEIGHT="9" BORDER="0"></TD> <TD VALIGN="TOP" CLASS="body">To remove a shortcut that has already been assigned, select the item in the commands list, select the keys in the Current Keys field, and then click Remove. If you've entered a key assignment but have NOT yet clicked Assign, simply close the Customize dialog to cancel the assignment.</TD> </TR> <TR> <TD VALIGN="TOP"><IMG SRC="images/bullet.gif" WIDTH="5" HEIGHT="9" BORDER="0"></TD> <TD VALIGN="TOP" CLASS="body">To reset keyboard shortcuts to their defaults, click Reset All and then click Yes to confirm the action.</TD> </TR> </TABLE> </TD> </TR> <TR> <!-- Horizontal Rule Horizontal Rule Horizontal Rule Horizontal Rule Horizontal Rule --> <TD><HR WIDTH="100%"></TD> </TR> <TR> <TD ALIGN="LEFT" CLASS="boldbody">Learn More:</TD> </TR> <TR> <TD CLASS="body"><A HREF="../Create a custom toolbar/index.htm"><IMG SRC="images/quickguide.gif" WIDTH="16" HEIGHT="16" BORDER="0"></A> <A HREF="../Create a custom toolbar/index.htm">Create a custom toolbar</A></TD> </TR> <TR> <TD CLASS="body"><A HREF="../Separate a tool from its flyout/index.htm"><IMG SRC="images/quickguide.gif" WIDTH="16" HEIGHT="16" BORDER="0"></A> <A HREF="../Separate a tool from its flyout/index.htm">Separate a tool from its flyout</A></TD> </TR> <!--TR> <TD CLASS="body"><A HREF="#other guides"><IMG SRC="images/quickguide.gif" WIDTH="16" HEIGHT="16" BORDER="0"></A> <A HREF="#other guides">Related guide 3</A></TD> </TR--> <TR> <TD><IMG SRC="images/blank_pixel.gif" HEIGHT="15" WIDTH="1" BORDER="0" ALT=""></TD> </TR> </TABLE> </body> </HTML>